checkasm: lls: Use relative tolerances rather than absolute ones
authorMartin Storsjö <martin@martin.st>
Fri, 4 Oct 2024 07:22:57 +0000 (10:22 +0300)
committerSebastian Ramacher <sramacher@debian.org>
Fri, 21 Feb 2025 12:16:27 +0000 (13:16 +0100)
commitf90fb769906e951efb464bd39137d4d05fb240c0
treef1a28e8d1a51a3fa16474902b21a2aa52c4d7ce5
parent83dc3371f57b76b19432776926289c47f3cb10ad
checkasm: lls: Use relative tolerances rather than absolute ones

Depending on the magnitude of the output values, the potential
errors can be larger.

This fixes errors in the lls tests on x86_32 for some seeds,
observed with GCC 11 (on Ubuntu 22.04, with the distro compiler,
with -m32).

Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 6668268e16b6d1a6992840dccb12effece2e7202)

Gbp-Pq: Name 0009-checkasm-lls-Use-relative-tolerances-rather-than-abs.patch
tests/checkasm/lls.c